package com.czy.springwebtest.controller;

import org.springframework.web.HttpRequestHandler;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class Test3Controller implements HttpRequestHandler {
    public void handleRequest(HttpServletRequest httpServletRequest,
                                      HttpServletResponse httpServletResponse) throws ServletException, IOException {

       httpServletResponse.getOutputStream().print("this is test3");
    }
}
